Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
rid = ((pdev->bus->number & 0xff) << 8) | pdev->devfn;
printk(KERN_INFO DRV_NAME ":use Requester-ID(%04x) as callback irq\n",
rid);
- return rid | HVM_PARAM_CALLBACK_IRQ_RID;
+ return rid | IA64_CALLBACK_IRQ_RID;
#else /* !__ia64__ */
return pdev->irq;
#endif
if (callback_irq != 0 && local_events_need_delivery()) {
/* change level for para-device callback irq */
/* use level irq to send discrete event */
- if (callback_irq & HVM_PARAM_CALLBACK_IRQ_RID) {
+ if (callback_irq & IA64_CALLBACK_IRQ_RID) {
/* case of using Requester-ID as callback irq */
/* RID: '<#bus(8)><#dev(5)><#func(3)>' */
int dev = (callback_irq >> 3) & 0x1f;
/* Arch specific callback irq definition */
/* using Requester-ID(RID) as callback irq */
-#define HVM_PARAM_CALLBACK_IRQ_RID (1 << 31)
+#define IA64_CALLBACK_IRQ_RID (1 << 31)
/* Maximum number of virtual CPUs in multi-processor guests. */
/* WARNING: before changing this, check that shared_info fits on a page */